{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{% extends "firefox/base/base-protocol.html" %}

{% from "macros-protocol.html" import picto, split with context %}

{% block page_title_full %}{{ ftl('firefox-enterprise-get-firefox-for-your-enterprise-with') }}{% endblock %}
{% block page_desc %}{{ ftl('firefox-enterprise-get-unmatched-data-protection') }}{% endblock %}

{% block page_css %}
  {{ css_bundle('protocol-split') }}
  {{ css_bundle('protocol-picto') }}
  {{ css_bundle('firefox-enterprise') }}
{% endblock %}

{% set utm_params = '?utm_source=www.mozilla.org-enterprise&utm_campaign=enterprise&utm_medium=referral' %}

{% block body_id %}firefox{% endblock %}

{% block site_header %}
  {% with hide_nav_download_button=True %}
    {% include 'includes/protocol/navigation/navigation.html' %}
  {% endwith %}
{% endblock %}

{% block sub_navigation %}
  {% include 'firefox/includes/sub-nav-firefox.html' %}
{% endblock %}

{% block content %}
<main>
  {% call split(
    image=resp_img('img/firefox/enterprise/fx-browser-img.svg', optional_attributes={ 'class': 'mzp-c-split-media-asset'}),
    block_class='mzp-t-dark t-enterprise mzp-t-split-nospace mzp-l-split-hide-media-on-sm-md mzp-l-split-center-on-sm-md',
    media_class='mzp-l-split-v-start mzp-l-split-h-start',
    media_after=True
  ) %}
    <div class="mzp-c-wordmark mzp-t-wordmark-md mzp-t-product-firefox"></div>
    <h1 class="mzp-c-split-title">{{ftl('firefox-enterprise-get-firefox-for-your-enterprise')}}</h1>
    <p class="mzp-c-split-desc">
      {{ ftl('firefox-enterprise-get-the-firefox-extended-support', url='https://support.mozilla.org/kb/choosing-firefox-update-channel') }}
    </p>
    <div class="cta-container">
      <div class="mzp-c-button-download-container">
        <a id="primary-download-button" href="#download" class="mzp-c-button mzp-t-product mzp-t-xl">{{ ftl('download-button-download') }}</a>
        <a href="{{ url('privacy.notices.firefox') }}" class="mzp-c-button-download-privacy-link">{{ ftl('download-button-firefox-privacy-notice') }}</a>
      </div>
    </div>
  {% endcall %}

  <div class="mzp-l-content mzp-t-content-lg">
    <section id="overview" class="enterprise-section">
      <h2 class="enterprise-section-title">{{ ftl('firefox-enterprise-unmatched-data-protection') }}</h2>

      <ul class="mzp-l-columns mzp-t-columns-three">
        {% call picto(
          base_el='li',
          title=ftl('firefox-enterprise-your-data-stays-your-business'),
          image=resp_img(
            url='img/firefox/enterprise/icon-data-privacy.svg',
            optional_attributes={
              'class': 'mzp-c-picto-image',
              'width': '44',
              'loading': 'lazy'
            }
          ),
          body=True,
        ) %}
          {% if LANG == 'en-US' %}
            <p>The Firefox browser is open source, provides Enhanced Tracking Protection and soon will support DNS over HTTPS — all part of our longstanding commitment to data protection.</p>
          {% else %}
            <p>{{ ftl('firefox-enterprise-the-firefox-browser-is-open') }}</p>
          {% endif %}
        {% endcall %}

        {% call picto(
          base_el='li',
          title=ftl('firefox-enterprise-deploy-when-and-how-you-want'),
          image=resp_img(
            url='img/firefox/enterprise/icon-deploy.svg',
            optional_attributes={
              'class': 'mzp-c-picto-image',
              'width': '53',
              'loading': 'lazy'
            }
          ),
          body=True,
        ) %}
          <p>{{ ftl('firefox-enterprise-with-install-packages-and') }}</p>
        {% endcall %}

        {% call picto(
          base_el='li',
          title=ftl('firefox-enterprise-choose-your-release-cadence'),
          image=resp_img(
            url='img/firefox/enterprise/icon-release.svg',
            optional_attributes={
              'class': 'mzp-c-picto-image',
              'width': '49',
              'loading': 'lazy'
            }
          ),
          body=True,
        ) %}
          <p>{{ ftl('firefox-enterprise-get-rapid-releases-to-make') }}</p>
        {% endcall %}
      </ul>
    </section>
  </div>

  <div class="mzp-l-content">
    <section id="download" class="enterprise-section enterprise-download">
      <h2 class="enterprise-section-title">{{ ftl('firefox-enterprise-enterprise-downloads') }}</h2>

      <div class="enterprise-download-lists">

        <section class="enterprise-download-block platform-win64">
          <h3 class="enterprise-download-title">{{ ftl('firefox-enterprise-windows-64-bit') }}</h3>

          <div class="mzp-c-menu-list mzp-t-cta mzp-t-download" id="win64-download-list">
            <h4 class="mzp-c-menu-list-title" data-testid="firefox-enterprise-win64-menu-button">{{ ftl('firefox-enterprise-select-your-download') }}</h4>
            <ul class="mzp-c-menu-list-list download-platform-list">
              <li class="mzp-c-menu-list-item">
                <a class="download-link ga-product-download" href="https://download.mozilla.org/?product=firefox-latest-ssl&os=win64&lang={{ LANG }}" data-download-version="win64" data-cta-text="Win64 - Download - Firefox" data-testid="firefox-enterprise-win64-menu-link">
                  {{ ftl('firefox-enterprise-firefox-browser') }}
                </a>
              </li>
              <li class="mzp-c-menu-list-item">
                <a class="download-link ga-product-download" href="https://download.mozilla.org/?product=firefox-msi-latest-ssl&os=win64&lang={{ LANG }}" data-download-version="win64-msi" data-cta-text="Win64 - Download - Firefox MSI" data-testid="firefox-enterprise-win64-msi-menu-link">
                  {{ ftl('firefox-enterprise-firefox-browser-msi-installer') }}
                </a>
              </li>
              <li class="mzp-c-menu-list-item">
                <a class="download-link ga-product-download" href="https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=win64&lang={{ LANG }}" data-download-version="win64" data-cta-text="Win64 - Download - Firefox ESR" data-testid="firefox-enterprise-win64-esr-menu-link">
                  {{ ftl('firefox-enterprise-firefox-extended-support-release') }}
                </a>
              </li>
              <li class="mzp-c-menu-list-item">
                <a class="download-link ga-product-download" href="https://download.mozilla.org/?product=firefox-esr-msi-latest-ssl&os=win64&lang={{ LANG }}" data-download-version="win64-msi" data-cta-text="Win64 - Download - Firefox ESR MSI" data-testid="firefox-enterprise-win64-esr-msi-menu-link">
                  {{ ftl('firefox-enterprise-firefox-extended-support-release-msi') }}
                </a>
              </li>
            </ul>
          </div>

          <div class="enterprise-download-support">
            <h4 class="enterprise-download-subtitle">{{ ftl('firefox-enterprise-support') }}</h4>
            <ul class="mzp-u-list-styled">
              <li><a href="https://support.mozilla.org/kb/deploy-firefox-msi-installers/{{ utm_params }}">{{ ftl('firefox-enterprise-msi-installers') }}</a></li>
              <li><a href="https://support.mozilla.org/kb/legacy-browser-support-extension-windows/{{ utm_params }}">{{ ftl('firefox-enterprise-legacy-browser-support') }}</a></li>
              <li><a href="https://support.mozilla.org/kb/customizing-firefox-using-group-policy-windows/{{ utm_params }}">{{ ftl('firefox-enterprise-admx-templates') }}</a></li>
              <li><a href="https://assets.mozilla.net/pdf/Firefox.for.Enterprise.Browser.Deployment.Guide.pdf">{{ ftl('firefox-enterprise-deployment-guide') }}</a></li>
              <li><a href="https://github.com/mozilla/policy-templates/blob/master/README.md">{{ ftl('firefox-enterprise-policy-documentation') }}</a></li>
              <li><a href="https://support.mozilla.org/kb/where-find-release-notes-firefox-enterprise/{{ utm_params }}">{{ ftl('firefox-enterprise-release-notes') }}</a></li>
              <li><a href="https://support.mozilla.org/products/firefox-enterprise/{{ utm_params }}">{{ ftl('firefox-enterprise-documentation-and-community') }}</a></li>
            </ul>
          </div>
        </section>

        <section class="enterprise-download-block platform-mac">
          <h3 class="enterprise-download-title">{{ ftl('firefox-enterprise-macos') }}</h3>

          <div class="mzp-c-menu-list mzp-t-cta mzp-t-download" id="mac-download-list">
            <h4 class="mzp-c-menu-list-title" data-testid="firefox-enterprise-mac-menu-button">{{ ftl('firefox-enterprise-select-your-download') }}</h4>
            <ul class="mzp-c-menu-list-list download-platform-list">
              <li class="mzp-c-menu-list-item">
                <a class="download-link ga-product-download" href="https://download.mozilla.org/?product=firefox-latest-ssl&os=osx&lang={{ LANG }}" data-download-version="osx" data-cta-text="MacOS - Download - Firefox" data-testid="firefox-enterprise-mac-menu-link">
                  {{ ftl('firefox-enterprise-firefox-browser') }}
                </a>
              </li>
              <li class="mzp-c-menu-list-item">
                <a class="download-link ga-product-download" href="https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=osx&lang={{ LANG }}" data-download-version="osx" data-cta-text="MacOS - Download - Firefox ESR" data-testid="firefox-enterprise-mac-esr-menu-link">
                  {{ ftl('firefox-enterprise-firefox-extended-support-release') }}
                </a>
              </li>
            </ul>
          </div>

          <div class="enterprise-download-support">
            <h4 class="enterprise-download-subtitle">{{ ftl('firefox-enterprise-support') }}</h4>
            <ul class="mzp-u-list-styled">
              <li>{{ ftl('firefox-enterprise-sample-plist-for-configuration', url='https://github.com/mozilla/policy-templates/blob/master/mac/org.mozilla.firefox.plist') }}</li>
              <li><a href="https://support.mozilla.org/kb/deploying-firefox-macos-using-pkg-and-jamf/{{ utm_params }}">{{ ftl('firefox-enterprise-pkg-installer') }}</a></li>
              <li><a href="https://assets.mozilla.net/pdf/Firefox.for.Enterprise.Browser.Deployment.Guide.pdf">{{ ftl('firefox-enterprise-deployment-guide') }}</a></li>
              <li><a href="https://github.com/mozilla/policy-templates/blob/master/README.md">{{ ftl('firefox-enterprise-policy-documentation') }}</a></li>
              <li><a href="https://support.mozilla.org/kb/where-find-release-notes-firefox-enterprise/{{ utm_params }}">{{ ftl('firefox-enterprise-release-notes') }}</a></li>
              <li><a href="https://support.mozilla.org/products/firefox-enterprise/{{ utm_params }}">{{ ftl('firefox-enterprise-documentation-and-community') }}</a></li>
            </ul>
          </div>
        </section>

        <section class="enterprise-download-block platform-win32">
          <h3 class="enterprise-download-title">{{ ftl('firefox-enterprise-windows-32-bit') }}</h3>

          <div class="mzp-c-menu-list mzp-t-cta mzp-t-download" id="win32-download-list">
            <h4 class="mzp-c-menu-list-title" data-testid="firefox-enterprise-win32-menu-button">{{ ftl('firefox-enterprise-select-your-download') }}</h4>
            <ul class="mzp-c-menu-list-list download-platform-list">
              <li class="mzp-c-menu-list-item">
                <a class="download-link ga-product-download" href="https://download.mozilla.org/?product=firefox-latest-ssl&os=win&lang={{ LANG }}" data-download-version="win" data-cta-text="Win32 - Download - Firefox" data-testid="firefox-enterprise-win32-menu-link">
                  {{ ftl('firefox-enterprise-firefox-browser') }}
                </a>
              </li>
              <li class="mzp-c-menu-list-item">
                <a class="download-link ga-product-download" href="https://download.mozilla.org/?product=firefox-msi-latest-ssl&os=win&lang={{ LANG }}" data-download-version="win-msi" data-cta-text="Win32 - Download - Firefox MSI" data-testid="firefox-enterprise-win32-msi-menu-link">
                  {{ ftl('firefox-enterprise-firefox-browser-msi-installer') }}
                </a>
              </li>
              <li class="mzp-c-menu-list-item">
                <a class="download-link ga-product-download" href="https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=win&lang={{ LANG }}" data-download-version="win" data-cta-text="Win32 - Download - Firefox ESR" data-testid="firefox-enterprise-win32-esr-menu-link">
                  {{ ftl('firefox-enterprise-firefox-extended-support-release') }}
                </a>
              </li>
              <li class="mzp-c-menu-list-item">
                <a class="download-link ga-product-download" href="https://download.mozilla.org/?product=firefox-esr-msi-latest-ssl&os=win&lang={{ LANG }}" data-download-version="win-msi" data-cta-text="Win32 - Download - Firefox ESR MSI" data-testid="firefox-enterprise-win32-esr-msi-menu-link">
                  {{ ftl('firefox-enterprise-firefox-extended-support-release-msi') }}
                </a>
              </li>
            </ul>
          </div>

          <div class="enterprise-download-support">
            <h4 class="enterprise-download-subtitle">{{ ftl('firefox-enterprise-support') }}</h4>
            <ul class="mzp-u-list-styled">
              <li><a href="https://support.mozilla.org/kb/deploy-firefox-msi-installers/{{ utm_params }}">{{ ftl('firefox-enterprise-msi-installers') }}</a></li>
              <li><a href="https://support.mozilla.org/kb/legacy-browser-support-extension-windows/{{ utm_params }}">{{ ftl('firefox-enterprise-legacy-browser-support') }}</a></li>
              <li><a href="https://support.mozilla.org/kb/customizing-firefox-using-group-policy-windows/{{ utm_params }}">{{ ftl('firefox-enterprise-admx-templates') }}</a></li>
              <li><a href="https://assets.mozilla.net/pdf/Firefox.for.Enterprise.Browser.Deployment.Guide.pdf">{{ ftl('firefox-enterprise-deployment-guide') }}</a></li>
              <li><a href="https://github.com/mozilla/policy-templates/blob/master/README.md">{{ ftl('firefox-enterprise-policy-documentation') }}</a></li>
              <li><a href="https://support.mozilla.org/kb/where-find-release-notes-firefox-enterprise/{{ utm_params }}">{{ ftl('firefox-enterprise-release-notes') }}</a></li>
              <li><a href="https://support.mozilla.org/products/firefox-enterprise/{{ utm_params }}">{{ ftl('firefox-enterprise-documentation-and-community') }}</a></li>
            </ul>
          </div>
        </section>
      </div>

      <p class="enterprise-languages">
        {{ ftl('firefox-enterprise-download-firefox-esr-or-rapid', firefox_all=firefox_url('desktop', 'all', 'esr')) }}
      </p>
    </section>

  </div>

</main>
{% endblock %}

{% block js %}
  {{ js_bundle('firefox-enterprise') }}
{% endblock %}
